home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
The World of Computer Software.iso
/
dmenu1.zip
/
SAMPLE.MNU
< prev
next >
Wrap
Text File
|
1991-10-15
|
4KB
|
204 lines
; Welcome to the dougmenu sample menu
; You will probable find this more infomative than the doc's
;anything with a ; in the first column is a comment
;I am not using this feature in this menu, but this is the syntax for it
;#include = filename
; this deactivates the escape key as a method of leaving the menu
#noexit
; this redefines palette 0 to something ugly
#palette 0 = 0,2,3,4,5,6,7
; turns the menu shadowing on & sets the shadow colors.
; if the color setting is not done, it will shadow using the default colors
#shadow = 0,8
; sets the cascade feature on with an x of 3 and a y of 1
; this also sets the default menu placement to the left,top corner.
#cascade = 3,1
;I am not using this feature, but this is the syntax
;#default placement = 56,4
; sets the default menu palette, etc.
#default palette = 0
#header palette = 8
#error palette = 2
; this next one is used for displaying text boxes
#message palette = 6
;I am not using these features, but here is the syntax
;#backdrop color = 0,15
;#backdrop char = 179
;#footer color = 0,6
; the next line will allow a text file to be used as custom back drop
;#backdrop file = Ascii.txt
#timer = 1
echo the inactivity timer has expired !!
pause
#f1 = Exit
#exit
#f2 = Color Palettes
%Color Palette #1
#f3 = Query?
#ask dumb,Do you reallly want to query?
"Yes"=Yes
"No"=No
echo %dumb%
pause
#f10 = svm
;svm is the trident video mode switcher
;I use this for testing different text modes ie mda, 132x80
svm
%The Official DougMenu Sample Menu !!!
Loop, Loop, Loop
%The Official DougMenu Sample Menu !!!
User input
%User input
Error Testing
%Error Testing
Display Text
;the 255's mean to center it w.r.t. x and y
;and the 5 selects the color palette
#display,255,255,5
this is some text
that can be displayed
in its own little box.
Ya whoo.
Change video modes
svm
;svm is the trident video mode switcher
Fun Features !
Let's play with the Colors !!
%Color Palette #1
Let's put some menus in wierd places
%Yo! Over here!
%User input,255,0,3
String Input
#ask fff,please enter a string,,20
echo %fff%
pause
Choice Input
#ask fff,please select an item,40,13
"fsdf sdsdf sdff" = 11111111111
"dsfs sdfsf sdfsd" = 22222222222
"234234 234234 234" = 3333333333
"sewr werwer werwe" = 4444444444
echo %fff%
pause
; all these menus are illegal on a normal screen 80x25
%Error testing
Nonexistant menu
%Yeah, Right.
Big menu
%Big
Empty Menu
%Noone Home
%Noone Home
divider
divider
%big
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
echo damn big
pause
eeee
echo.
%Yo! Over here!,0,50
No; over here!
%No; over here!
%No; over here!,90,40
Keep Moving!
%Keep Moving!
%Keep Moving!,100,10
Now ther!
%Now the center!
%Now the center!,,,1
Pant Pant Pant !
#display
Taa Daaa!
I could use a rest
%Color Palette #1,,,1
Next color
%Color Palette #2
Filler
Crap Crap
echo crap
pause
%Color Palette #2,,,2
Next color
%Color Palette #3
Filler
Crap Crap
echo crap
pause
%Color Palette #3,,,3
Next color
%Color Palette #4
Filler
Crap Crap
echo crap
pause
%Color Palette #4,,,4
Next color
%Color Palette #5
Filler
Crap Crap
echo crap
pause
%Color Palette #5,,,5
Next color
%Color Palette #6
Filler
Crap Crap
echo crap
pause
%Color Palette #6,,,6
Next color
%Color Palette #7
Filler
Crap Crap
echo crap
pause
%Color Palette #7,,,7
Next color
%Color Palette #8
Filler
Crap Crap
echo crap
pause
%Color Palette #8,,,8
Next color
%Color Palette #9
Filler
Crap Crap
echo crap
pause
%Color Palette #9,,,9
Out of colors
#display
Sorry,
but
we
are
out of
colors.
Filler
Crap Crap
echo crap
pause